package com.wuye.model.repair;

import com.wuye.model.WuyePersistable;

import javax.persistence.Column;
import javax.persistence.Entity;

/*
* 维修人员表
* */
@SuppressWarnings("serial")
@Entity
public class RepairPerson extends WuyePersistable<Long>{
    /**
     * 人员
     */
    @Column(length = 64, nullable = false)
    String name;
    /**
     * 维修分类id
     */
    long categoryId;
    /**
     * 维修人员手机
     */
    @Column(length = 16,  columnDefinition = "varchar(16) COMMENT '手机号码'")
    String mobile;
    /**
     * 职务
     */
    String post;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(long categoryId) {
        this.categoryId = categoryId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }
}
